package info.wegosoft.android.model.tencent;

import org.nuxeo.common.xmap.annotation.XNode;
import org.nuxeo.common.xmap.annotation.XObject;

/**  
 * Filename:    Info.java 
 * Package:     info.wegosoft.android.model.tencent 
 * Description: TODO(这里用一句话描述这个类的作用)
 * Copyright:   Copyright (c) wegosoft.info 2011  
 * @author:     李辉 
 * email:       fzlihui@gmail.com
 * @version:    1.0  
 * Create at:   2011-5-18 上午11:42:34  
 */
@XObject(value = "info")
public class Info {
	//状态id
	@XNode("id")
	private String id;
	//用户头像地址，例如http://app.qlogo.cn/mbloghead/c39e95b85b1b6bcd6f84，
	//但是要在末尾加上/,在返回的头像地址后面加上 /20 /30 /40 /50 /100 返回相应大小的图片。
	@XNode("head")
	private String head;
	//评论和转发数
	@XNode("count")
	private String count;
	//来源
	@XNode("from")
	private String from;
	//返回图片地址请在后面加上 /120 /160 /460 /2000。
	@XNode("image")
	private String image;
	//唯一用户名
	@XNode("name")
	private String name;
	//用户昵称
	@XNode("nick")
	private String nick;
	//状态内容
	@XNode("text")
	private String text;
	//时间戳,腾讯默认返回10位时间戳,如1305689517,不包括最后三位毫秒级别的,要在最后补上三个0再处理
	@XNode("timestamp")
	private String timestamp;
	//原状态
	@XNode("source")
	private Info sourceInfo;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public String getCount() {
		return count;
	}
	public void setCount(String count) {
		this.count = count;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	public Info getSourceInfo() {
		return sourceInfo;
	}
	public void setSourceInfo(Info sourceInfo) {
		this.sourceInfo = sourceInfo;
	}
	
}
